//
//  RecomendViewCell.m
//  We_Travel
//
//  Created by lanou3g on 15/12/16.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "RecomendViewCell.h"
#import "UIImageView+WebCache.h"

@implementation RecomendViewCell


- (void)setModel:(RecomendCellModel *)model{
    if (!_model) {
        _model = nil;
    }
    _model = model;
    _titleLabel.text = model.name;
    _detialLabel.text = model.description1;
    [_picture1Image sd_setImageWithURL:[NSURL URLWithString:model.images[0]]];
    [_picture2Image sd_setImageWithURL:[NSURL URLWithString:model.images[1]]];
    [_picture3Image sd_setImageWithURL:[NSURL URLWithString:model.images[2]]];
    [_picture4Image sd_setImageWithURL:[NSURL URLWithString:model.images[3]]];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
